CREATE proc [dbo].[SP_UpdateApplication] 
  
  @id bigint,
  @isActive bit
  
as
	UPDATE Application SET isActive = @isActive WHERE id=@id
